Next | Prev | Up | Top | Contents | Index
How Names Are Used in Configuration
The naming of a kernel-level driver begins in a file in /var/sysgen/system, such as /var/sysgen/system/irix.sm. Names are used as follows:
- A USE, INCLUDE, or VECTOR statement in /var/sysgen/system specifies a name, for example
USE hypothetical
- This statement directs lboot to read a file of the same name in /var/sysgen/master.d, for example, /var/sysgen/master.d/hypothetical.
- The file in /var/sysgen/master.d specifies the prefix for driver entry points, for example hypo_.
- The same name with the suffix .o, is searched for in /var/sysgen/boot--for example, /var/sysgen/boot/hypothetical.o. This object file is linked with the kernel.
- The public symbols in the object file are searched for names that start with the prefix, for example hypo_edtinit(). These are noted in the kernel switch table so the driver can be called as needed.
Next | Prev | Up | Top | Contents | Index